package net.ftzcode.model;

/**
 * Created by WangZiHe on 2017/9/27
 * QQ/WeChat:648830605
 * QQ-Group:368512253
 * Blog:www.520code.net
 * Github:https://github.com/yancheng199287
 */

/**
 * 实体类，负责装载配置数据
 **/
public class Product {

    public static final String productUrl = "http://cn.ssgdfm.com/shop/product/productDetail?prdtCode=%s";

    /**
     * 商品类型，釜山或者明洞
     */
    private AccountType accountType;

    /**
     * 商品链接地址
     */
    private String url;

    /**
     * 购买数量
     */
    private Integer count;


    public static String getProductUrl() {
        return productUrl;
    }

    public AccountType getAccountType() {
        return accountType;
    }

    public void setAccountType(AccountType accountType) {
        this.accountType = accountType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Product{" +
                "accountType=" + accountType +
                ", url='" + url + '\'' +
                ", count=" + count +
                '}';
    }
}
